><

Searching in the current document



You can use Find & Replace in Layout, Outline, or Source view. Depending on the view, you can search for text and HTML code elements in the current document. Once you find what you're looking for, you can automatically change it to something else. You can also search for selected text without opening the Find dialog box.

Note: Although you can use Find & Replace to search for HTML tags, the Element tab in the Find dialog offers a more powerful approach that performs more than simple find and replace operations. See Finding HTML code elements for additional details.

To find and change text in the current document:

1 Choose Edit > Find, and click the Find & Replace tab if necessary.

2 Do one of the following:

  • Type or paste in the text you want to find.

  • Note: If the amount of text entered is more than the text box can display, you can either scroll through the text or click the Edit button next to the text box to display the text in a resizeable Edit dialog where you can easily edit the content without scrolling.

  • Choose an item from a previous search from the search history list at the top of the Find pop-up menu.


  • Previously used search strings appear in the search history menu along with defined regular expressions.

  • Select text in the document window, and drag it to the Find text box.

  • 3 Select options to customize your search:

  • Ignore Case lets you search for matching text without regarding case. For example, a search for "frequent flyer" also finds "Frequent Flyer."
  • Entire Word lets you ignore search text that is embedded within a larger word. For example, if you are searching for the entire word "any," GoLive disregards "many."
  • Regular Expression allows wildcard searches. For more information, see Using wildcards in a search.

  • Note: Do not use Regular Expression unless you understand wildcard searching. This powerful option can cause unexpected results, especially if you plan to search for and replace multiple items.

  • Backwards searches from the current cursor position toward the top of your document. (This changes the From Top option to From Bottom.)
  • From Top starts the search at the beginning of your document.
  • Wrap Around restarts the search at the beginning after it reaches the end of the document.

  • 4 To replace the text, expand the Replace section of the dialog by clicking the small triangle, and either type in text or choose an item from the search history list in the Replace pop-up menu.

    Note: If the amount of text entered is more than the text box can display, you can either scroll through the text or click the Edit button next to the text box to display the text in a resizeable Edit dialog where you can easily edit the content.

    5 Click Find to start searching your document. Adobe GoLive highlights the first match, if any. Depending on your Find preferences, the Find dialog box moves to the background or stays in the foreground. For more information, see Setting Find preferences.

    6 Continue searching:

  • Click Find Next to continue the search.
  • Click Replace to replace the text.
  • Click Replace & Find to replace the text and find the next occurrence.
  • Click Replace All to automatically replace all instances of the text in the document.

  • To search for selected text in the current document without opening the Find dialog box:

    1 In Layout, Source, or Preview view, select the desired text in your document. The selection must be located within the same paragraph.

    2 Choose Edit > Find Selection.

    Adobe GoLive starts looking for selected text from the current selection and highlights the next occurrence of the text using the current settings in the Find dialog box.

    You can also find and replace text without reopening or moving the Find and Replace dialog box to the foreground by using Edit > Replace or Edit > Replace & Find Next. These commands are only available if the item searched for was found and is still selected.

    To find and replace text or HTML code elements in multiple files:

    1 Choose Edit > Find, and click the Find & Replace tab if necessary.

    2 With the site window open, type in text or HTML code, and select search options.

    Note: If you plan to do a global search and replace in multiple files, you should be sure to make a backup of your files and site, especially if you are using wildcard characters or Regular Expression.

    3 Click the triangle next to Find in Files, and do one of the following to define the scope of your search:

  • Click or Shift-click to select the desired file or files in the site window, and drag the file or files into the Files list.
  • Click Add Files, and select the files you want to search in the dialog box that appears.
  • Click Add Site to add an entire site. You can then remove individual files by selecting the files in the list and then pressing Backspace or Delete, or clicking Remove All.


  • 4 Select options to customize your search:

  • Source Mode lets you view the matches in source view, displayed as raw HTML code. Select this option to find individual HTML tags; otherwise Adobe GoLive lets you find only visible content.

  • Important: Be careful about selecting Source Mode if you plan to use the search and replace function. If you select Source Mode, Adobe GoLive finds and replaces any occurrence of the text, whether it is visible document content or HTML code. For example, if you search for and replace the word "Traveler" in all project files with Source Mode selected, Adobe GoLive replaces that word in hyperlinks pointing at a filename (for example, Frequent-Traveler.html), disrupting links in the process.

  • Script of String lets you select the language encoding used in the search from a pop-up menu.

  • 5 Click Find to start searching the selected file or files. Adobe GoLive shows you the first file found containing matching text. Adobe GoLive opens the file.

    6 Continue searching by doing one of the following:

  • Click Find Next to find or view the next match in the same or next document.
  • Click Find All to find or view all matches. In the list box, all files with matches are marked by a number appearing in the Hits column. Double-click a file with a hit count to open the file and highlight the first match.

  • While Adobe GoLive searches selected files or folders, a moving arrow in the Files list indicates the file currently being searched, and a number to the right of the filename indicates how many occurrences have been found.


    A. The small arrow indicates the file currently being searched. B. Numbers displayed in the Hits column indicate the number of matches in the file.

    7 Search for and replace text.

    Note: You'll receive a warning message if Adobe GoLive is unable to save while searching and replacing a file. You can choose to cancel the operation or allow Adobe GoLive to continue.


    Searching > Searching within a document and within a site > Searching in the current document